package com.example.springbootfirst.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * created by Morgan on 2021/10/2
 */
@Data
@Entity
@Table(name = "t_user")
@ApiModel("用户表")
public class UserEntity extends BaseEntity {
    @ApiModelProperty("登录id")
    private String loginId;
    @ApiModelProperty("真实姓名")
    private String name;
    @ApiModelProperty("登录密码")
    private String password;
}
